<% content_for :adminpage do %>
    #top-menu {display: none}
    #nav {display: none}
    #right-header {display: none}
    #weasel-coffee {display: none}
<% end %>
<% content_for :admin do %>
    <div id="admin-menu">
      <ul>
        <li>
          <a href="/admin">Trang Chủ</a>
        </li>
        <li>
          <a href="/admin/product_management">Sản Phẩm</a>
        </li>
        <li>
          <a href="/admin/feedback_management">Ý Kiến</a>
        </li>
      </ul>
    </div>
    <style>
        #admin-menu {
            margin-bottom: 30px;
            background-color: #E1EEF4;
            border-radius: 3px;
        }

        #admin-menu ul li {
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 700;
            line-height: 36px;
        }

        #admin-menu ul ul {
            display: none;
        }

        #admin-menu ul li:hover > ul {
            border-radius: 3px;
            display: block;
        }

        #admin-menu > ul {
            width: 100%;
            list-style: none;
            position: relative;
            display: inline-table;
        }

        #admin-menu ul:after {
            content: "";
            clear: both;
            display: block;
        }

        #admin-menu ul li {
            float: left;
        }

        #admin-menu ul li:hover {
            background: #4b545f;
            background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
            background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
            background: -webkit-linear-gradient(top, #4f5964 0%, #5f6975 40%);
            box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
        }

        #admin-menu ul li:hover a {
            color: #fff;
        }

        #admin-menu ul li a {
            color: black;
            display: block;
            padding: 20px;
            text-decoration: none;
        }

        #admin-menu ul ul {
            background: #5f6975;
            padding: 0;
            position: absolute;
            top: 100%;
        }

        #admin-menu ul ul li {
            float: none;
            border-top: 1px solid #6b727c;
            border-bottom: 1px solid #575f6a;
            position: relative;
        }

        #admin-menu ul ul li a {
            padding: 15px 40px;
            color: #fff;
        }

        #admin-menu ul ul li a:hover {
            background: #4b545f;
        }

        #admin-menu ul ul ul {
            position: absolute;
            left: 100%;
            top: 0;
        }

    </style>
<% end %>